package com.google.gwt.sample.stockwatcher.client.view;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;


public class Boton {

	public Boton() {
	    // Make a new button that does something when you click it.
	    Button b = new Button("Jump!", new ClickHandler() {
	      public void onClick(ClickEvent event) {
	        Window.alert("jumping!!!");
	      }
	    });

	    // Add it to the root panel.
	    RootPanel.get("button").add(b);

	}
}
